﻿/*
 * Copyright (C) 2010 The MobileSecurePay Project
 * All right reserved.
 * author: shiqun.shi@alipay.com
 * 
 *  提示：如何获取安全校验码和合作身份者id
 *  1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *  2.点击“商家服务”(https://b.alipay.com/order/myorder.htm)
 *  3.点击“查询合作者身份(pid)”、“查询安全校验码(key)”
 */

package com.dopies.bsdmall.alipay;

//
// 请参考 Android平台安全支付服务(msp)应用开发接口(4.2 RSA算法签名)部分，并使用压缩包中的openssl RSA密钥生成工具，生成一套RSA公私钥。
// 这里签名时，只需要使用生成的RSA私钥。
// Note: 为安全起见，使用RSA私钥进行签名的操作过程，应该尽量放到商家服务器端去进行。
public final class Keys {

	// 合作身份者id，以2088开头的16位纯数字
	public static final String DEFAULT_PARTNER = "2088311668844391";

	// 收款支付宝账号
	public static final String DEFAULT_SELLER = "anhuishengboshida@163.com";

	// 商户私钥，自助生成
	public static final String PRIVATE = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAMbKo+xOw4GVL5/5u2yFP7iEAFhfPA35+OK29pH5gBPBHv7ze5F1E5TjpyACzJxl8Oq6WM23jqhVYBQHo0Lvrl90y7SQDN50hDyvMC9BKAE+o77HAZIA4lq0hU5iNwZSPaU60TZroR2ObnPqO1WjEzWxpgdNjmHlfLOW8ddtuv7pAgMBAAECgYEAvi4bSPXJYG1DVL7sKdQItBPE6Majg5OEIhF8LwcNGtkFOE/kBbKF+0kYGC3VZkK4izefwZ88IZscAc2UyXLX09Zu9U8eOk9bj+KMYv+a/dqDztDaoBN2KHIv+7DDmfW2jP5owIR2LOnlBaXBC21DrMigiS4lRQr/EK9aBCR6TAECQQDuiHsYJ8MPRRMK7pvujgbcnmmOGPciN/0mJhcX6PvizmYyI5DKTfwb+HSnyTY5/PYTP1jd7Xc6dmsw7VsicR7BAkEA1Vkq/U6RFmMOTyO0o/gFe5DctC/RZyD0UVxsdPWdba0/rurQ0N13qjHtFjUAp9S5KYWl7JW5ZpVxzJCeTdOSKQJAO/W+y5GjLMF2Sfc050B4ZRjE+902sjlUvzQv9eiw+JBdjBj4moID75wC5vJjWSxHRwtTcWXx5JZD16ayk/PPgQJAJPLaZSA0NGJXWhFe+X68xFekQXh+lZO5fFW7Ws4mw5Xbj5mPLH0OemVHIC9xu581qiFBSSXtA/0hxkHNiMD5cQJAW14EmFUngnpdRL5gpBmk15mSvy/XX732tj+ZflKHE2LxjUWaUH1KJDl5fgRpcST2Evzo4h8uWcwFUnemvZYc/Q==";

	public static final String PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
	// public static final String PUBLIC =
	// "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBANS9CgzOFfdCAiHTlwIuNYOinHttbzhYtJTa7oCqOmoT1pPNDW0WB1YryOu96weAuBZ1zkDfR2hEro5u8+hPxsprZSEun+WWY6Cs3BxJNiTdoG+Z+3o+3DgR9Ri2VT7DD4rFyeh38YH3Wy9W/qMeTuQbbboT3WYgQTCFwhhH7vYDAgMBAAECgYB24m2LWl/MHYczgBsTjN87ANSR5UYSJwBDb1V5cafTP+LaFe062OSgszdFBo0hVD2Lz6nDdwNgsYEa98Y2PN7Jmq3V4dmF+7BL1EuZ9r08e9aB+y8AgpniTiJKsKO/TvkMb71jAd9aMXYRkXYcCwHYmAljPJxSVLDLFWBEcy5zgQJBAPWq/xruoiJiifJhejCdwr/tE41brULOodHEj0qR3E+NsGslKv69SHkdWrydQrAN8STibnlzsXOx63HoUHxw0fcCQQDdr4EkePQfaO9UNL7vKhZWYdgRM+ftN7dMklWeb/PvXd9v76c4/eXxi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